package com.funwell.server.base.page;
public class PaginationUtils {

    @Deprecated
	public static String getHref(String prefix, String pageParam, String pageSizeParam, int i) {
		return prefix + (prefix.indexOf("?") != -1 ? "&" : "?") + pageParam + "=" + i + "&" + pageSizeParam + "=" + pageSizeParam;
	}
	public static String getHref(String prefix, String pageParam, int pageSize, String pageSizeParam, int i) {
		return prefix + (prefix.indexOf("?") != -1 ? "&" : "?") + pageParam + "=" + i + "&" + pageSizeParam + "=" + pageSize;
	}
}